package com.academic.system.model;

/**
 * 用户角色枚举
 */
public enum UserRole {
    // 保持枚举值与数据库中存储的值一致
    ADMIN("admin"), 
    TEACHER("teacher"), 
    STUDENT("student");
    
    private final String value;
    
    UserRole(String value) {
        this.value = value;
    }
    
    public String getValue() {
        return value;
    }
} 